﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;

namespace MassIntellect.WorkIt
{
	/// <summary>
	/// Статичное имя аргумента
	/// </summary>
	public class StaticArgName : IXmlArgNameSelector
	{
		[Serialize(IgnoreDefault = true)]
		public string Value { get; set; }

		#region IXmlArgNameSelector Members

		public IWorkFrame Owner { get; set; }

		public string Select(XElement xe)
		{
			return Value;
		}

		#endregion
	}
}
